<?php get_header(); ?>
<!-- Begin Container -->
<div class="content">
		<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
		<!-- Begin Post -->
		<div class="post format-image box"> 

			<div class="details">
				<span class="icon-<?php echo get_post_format( $post->ID ) ?>">
					<?php
						printf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>',
							get_permalink(),
							esc_attr( get_the_time() ),
							get_the_date()
						);
					?>
					</a>
				</span>
				<span class="likes"><a href="#" class="likeThis">27</a></span>
				<span class="comments"><?php comments_popup_link( __( 'Leave a comment', 'lhablog' ), __( '1', 'lhablog' ), __( '%', 'lhablog' ) ); ?></span>
			</div>
			<?php if ( function_exists( 'get_post_format' ) && 'image' == get_post_format( $post->ID ) ):  ?>
			<!-- Begin Main Image -->
			<div class="main-image">
				<div class="outer">
					<span class="inset">
					<?php
						if ( has_post_thumbnail()) {
							the_post_thumbnail('single-thumb');
						}
					?>
					</span>
				</div>
			</div>
			<!-- End Main Image --> 
			<?php endif; ?>
			<?php if(!is_front_page()): ?>
			<h1 class="title"><?php the_title(); ?></h1> 
			<?php endif; ?>
			<?php the_content(); ?>
			
			<div class="tags"><?php the_tags('', ', ', ''); ?></div>	
			<div id="nav-below" class="navigation post-nav">
				<div class="nav-prev nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
				<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'twentyten' ) . '</span>' ); ?></div>
				<div class="clear"></div>
			</div><!-- #nav-below -->
		</div>
		<!-- End Post --> 	
	
		<?php comments_template( '', true ); ?>
	<?php endwhile; // end of the loop. ?>
</div>
<!-- End Container -->
<?php get_sidebar(); ?>
<div class="clear"></div>
<?php get_footer(); ?>